package conf

import (
	"api/libs/register"
)

func init() {
	root := register.NewPage("CORE").SetRoute("ez.ctl").SetIcon("home").AddSons(
		register.NewPage("AppHost").SetRoute("/v1/ctl/AppHost/list").SetIcon("").SetSort(10),
		register.NewPage("AppRoute").SetRoute("/v1/ctl/AppRoute/list").SetIcon("").SetSort(20),
		register.NewPage("GateWay").SetRoute("/v1/ctl/GateWay/list").SetIcon("").SetSort(30),
		register.NewPage("Starter").SetRoute("/v1/ctl/Starter/list").SetIcon("").SetSort(40),
	)
	core := register.NewPage("CORE").SetRoute("ez.core")
	core.AddSons(root)
	register.AddPage(core)
}
